﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Globalization;
namespace FSY.Components.Entities
{
    public class Fsy_User:BaseClassEntity
    {
        #region Private members
        private int m_UserID;
        private string m_UserName;
        private string m_Password;
        private string m_FirstName;
        private string m_LastName;
        private bool m_IsSuperUser;
        private string m_Email;
        private string m_DisplayName;
        private string m_LastIPAddress;
        //private DateTime m_CreatedOnDate;
        //private int m_CreatedByUserID;
        //private DateTime m_LastModifiedOnDate;
        //private int m_LastModifiedByUserID;
        private string m_MobilePIN;
        private string m_PasswordQuestion;
        private string m_PasswordAnswer;
        private DateTime m_LastLoginDate = DateTime.Parse("1/2/1973",CultureInfo.InvariantCulture);
        private bool m_IsLockOut;
        private DateTime m_LastLockOutDate = DateTime.Parse("1/2/1973", CultureInfo.InvariantCulture);
        private DateTime m_LastPasswordChanged = DateTime.Parse("1/2/1973", CultureInfo.InvariantCulture);
        private string m_Avatar;
        private string m_Picture;
        #endregion

        #region Properties
        public int UserID
        {
            get { return m_UserID; }
            set { m_UserID = value; }
        }
        public string UserName
        {
            get { return m_UserName; }
            set { m_UserName = value; }
        }
        public string Password
        {
            get { return m_Password; }
            set { m_Password = value; }
        }
        public string FirstName
        {
            get { return m_FirstName; }
            set { m_FirstName = value; }
        }
        public string LastName
        {
            get { return m_LastName; }
            set { m_LastName = value; }
        }
        public bool IsSuperUser
        {
            get { return m_IsSuperUser; }
            set { m_IsSuperUser = value; }
        }
        public string Email
        {
            get { return m_Email; }
            set { m_Email = value; }
        }
        public string DisplayName
        {
            get { return m_DisplayName; }
            set { m_DisplayName = value; }
        }
        public string LastIPAddress
        {
            get { return m_LastIPAddress; }
            set { m_LastIPAddress = value; }
        }
        //public DateTime CreatedOnDate
        //{
        //    get { return m_CreatedOnDate; }
        //    set { m_CreatedOnDate = value; }
        //}
        //public int CreatedByUserID
        //{
        //    get { return m_CreatedByUserID; }
        //    set { m_CreatedByUserID = value; }
        //}
        //public DateTime LastModifiedOnDate
        //{
        //    get { return m_LastModifiedOnDate; }
        //    set { m_LastModifiedOnDate = value; }
        //}
        //public int LastModifiedByUserID
        //{
        //    get { return m_LastModifiedByUserID; }
        //    set { m_LastModifiedByUserID = value; }
        //}
        public string MobilePIN
        {
            get { return m_MobilePIN; }
            set { m_MobilePIN = value; }
        }
        public string PasswordQuestion
        {
            get { return m_PasswordQuestion; }
            set { m_PasswordQuestion = value; }
        }
        public string PasswordAnswer
        {
            get { return m_PasswordAnswer; }
            set { m_PasswordAnswer = value; }
        }
        public DateTime LastLoginDate
        {
            get { return m_LastLoginDate; }
            set { m_LastLoginDate = value; }
        }
        public bool IsLockOut
        {
            get { return m_IsLockOut; }
            set { m_IsLockOut = value; }
        }
        public DateTime LastLockOutDate
        {
            get { return m_LastLockOutDate; }
            set { m_LastLockOutDate = value; }
        }
        public DateTime LastPasswordChanged
        {
            get { return m_LastPasswordChanged; }
            set { m_LastPasswordChanged = value; }
        }
        public string Avatar
        {
            get { return m_Avatar; }
            set { m_Avatar = value; }
        }
        public string Picture
        {
            get { return m_Picture; }
            set { m_Picture = value; }
        }
        #endregion
    }
}
